home *** CD-ROM | disk | FTP | other *** search
/ The Original Shareware 1.1 / The Original Shareware (WeMake CDs)(Volume 1.1)(CDs, Inc)(1993).iso / 6 / hsatxt.zip / HSA_TX.H < prev    next >
Text File  |  1988-04-30  |  4KB  |  135 lines

  1. /************************************************************************/
  2. /*                                                                        */
  3. /*        H S A _ T X . H  -  Define HSA_TEXT display routines            */
  4. /*                                                                        */
  5. /************************************************************************/
  6.  
  7. /************************************************************************/
  8. /*                                                                        */
  9. /*        Copyright (c) Hardwood Software Associates, 1986                */
  10. /*                                                                        */
  11. /************************************************************************/
  12.  
  13. /*************************************************************************
  14.  *                H S A _ T X . H   E D I T   L O G 
  15.  *
  16.  * $Log:   D:/CRT/VCS/HSA_TX.H_V  $
  17.  *    
  18.  *       Rev 1.5   30 Apr 1988 22:09:26   R. Evans
  19.  *    tx_mows_press & tx_mows_release had incorrect arg types for 1 & 2
  20.  *    Use hsa_attr.h
  21.  *    
  22.  *       Rev 1.4   24 Apr 1988 15:23:32   R. Evans
  23.  *    Eliminate non prototyped definitions
  24.  *    mows_sensitivity name corrected.
  25.  *    
  26.  *       Rev 1.3   21 Apr 1988 20:20:06   R. Evans
  27.  *    Add REVERSE_ATTR macro
  28.  *    
  29.  *       Rev 1.2   14 Feb 1988  9:30:50   R. Evans
  30.  *    Add mouse types
  31.  *    Add tx_scup_a & tx_scdn_a
  32.  *    Add tx_adapt_1
  33.  *    
  34.  *       Rev 1.1   07 Nov 1987 15:08:18   R. Evans
  35.  *    Add mouse support
  36.  *    
  37.  *       Rev 1.0   11 Aug 1987 11:47:24   R. Evans
  38.  *    Initial revision.
  39.  *
  40.  ************************************************************************/
  41.  
  42. #ifndef TX_
  43. #define TX_
  44.  
  45. #define SCREEN_WIDTH    80                        /* Width of screen */
  46. #define SCREEN_LENGTH    25                        /* Length of screen */
  47.  
  48. #include <hsa_attr.h>                            /* Screen Attributes */
  49.  
  50. struct crt_status
  51.     {
  52.     unsigned char mode;                            /* Current CRT mode */
  53.     unsigned char attribute;                    /* Current default attributes */
  54.     unsigned short row,column;                    /* Current cursor location */
  55.     };
  56. #define CRT_STATUS struct crt_status
  57.  
  58. int tx_adapt1 (void);
  59. short tx_attr (void);
  60. void tx_attr_set (int);
  61. void tx_bios (void);
  62. void tx_blink(void);
  63. void tx_bold(void);
  64. void tx_b_b(void);
  65. void tx_chr (short,short,char);
  66. void tx_chr_a (short,short,char,short);
  67. void tx_chr_a_c (char,short);
  68. void tx_chr_c_a (char,short);
  69. void tx_chr_c (char);
  70. void tc_chr_o (int,int,char);
  71. void tc_chr_o_c (char);
  72. void tx_clr (void);
  73. void tx_clr_a (int);
  74. void tx_clr_eol(void);
  75. void tx_clr_eol_a(int);
  76. void tx_clr_rows (int,int);
  77. void tx_clr_rows_a (int,int,int);
  78. int tx_col (void);
  79. void tx_conf (unsigned int, unsigned int);
  80. void tx_cur_hide(void);
  81. void tx_cur_set (int,int);
  82. void tx_cur_show(void);
  83. void tx_direct(void);
  84. void tx_down (void);
  85. void tx_fill (short,short,char,short);
  86. void tx_fill_a (int,int,char,int,int);
  87. void tx_fill_c (char,int);
  88. void tx_fill_a_c (char,int,int);
  89. void tx_fill_c_a (char,int,int);
  90. void tx_get_status (CRT_STATUS *);
  91. void tx_left (void);
  92. void tx_loc (short,short);
  93. int tx_mows_reset (void);
  94. int tx_mows_type (void);
  95. int tx_mows_show (void);
  96. int tx_mows_hide (void);
  97. int tx_mows_move (int,int);
  98. int tx_mows_loc (int *,int *);
  99. int tx_mows_button (void);
  100. int tx_mows_window (int,int,int,int);
  101. int tx_mows_press (int *,int *,int);
  102. int tx_mows_release (int *,int *,int);
  103. int tx_mows_window (int,int,int,int);
  104. int tx_mows_hard_cur (int,int);
  105. int tx_mows_soft_cur (int,int);
  106. int tx_mows_sensitivity (int,int);
  107. void tx_nl (void);
  108. void tx_norm(void);
  109. int tx_no_col (void);
  110. void tx_no_snow (void);
  111. void tx_put_status (CRT_STATUS *);
  112. void tx_rd_blk (int,int,int *,int,int);
  113. void tx_rd_blk_c (int *,int,int);
  114. char *tx_rd_str (short, short, char *, short);
  115. char *tx_rd_str_c (char *, short);
  116. void tx_reverse(void);
  117. void tx_right (void);
  118. short tx_row (void);
  119. void tx_scdn (int,int,int,int);
  120. void tx_scdn_a (int,int,int,int,int);
  121. void tx_scup (int,int,int,int);
  122. void tx_scup_a (int,int,int,int,int);
  123. void tx_snow (void);
  124. int tx_state (void);
  125. void tx_str (short,short,char *);
  126. void tx_str_a (short,short,char *,short);
  127. void tx_str_a_c (char *,short);
  128. void tx_str_c_a (char *,short);
  129. void tx_str_c (char *);
  130. void tx_under (void);
  131. void tx_up (void);
  132. void tx_wr_blk (int,int,int *,int,int);
  133. void tx_wr_blk_c (int *,int,int);
  134. #endif
  135.